package com.system.service;

import com.system.pojo.ContractGoods;
import com.system.pojo.Invoice;
import com.system.vo.ResultVo;

public interface InvoiceService {

    boolean update(Integer uid, Integer invoiceId);

    ResultVo<Invoice> deliver(Integer uid, Integer invoiceId);

    ResultVo<Invoice> selectAllUndone();

    ResultVo<Invoice> selectAllDone();

    ResultVo<Invoice> contractInvoices(Integer contractId);

//    ResultVo<Invoice> deleteById(Integer invoiceId);

    ResultVo<Invoice> insert(ContractGoods cg);

	ResultVo<Invoice> delete(Invoice invoice);

	ResultVo<Invoice> updateInvoice(Invoice invoice);
}
